package com.baoteng.rbspy.vo.request;

import java.util.Date;

import com.baoteng.rbspy.vo.JsonDateDeserializer;
import com.baoteng.rbspy.vo.JsonDateSerializer;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

@JsonInclude(Include.NON_EMPTY)
public class UserInfo {

	/**
	 * "1:用户 2：企业"
	 */
	private Integer userType;

	/**
	 * userType为1 
	 * 01：身份证 
	 * 02:护照
	 * 03：军人证
	 * 04：港澳通行证
	 * 05：驾驶证
	 * 06：台胞证
	 * 07：临时身份证
	 * 08：外国人永久居留身份证
	 * 09:其他
	 * 10：港澳回乡证
	 * userType为2
	 * 01:营业执照
	 */
	private String customerType;

	/**
	 *  02：个体工商户 03:企业非法人 04：企业法人 05：机关法人 06：机关非法人 07：事业法人 08：事业非法人 09：社会法人 10：社团非法人 11:工会法人 12：民办非企业单位 13：其他 
	 */
	private String organizationType;
	
	/**
	 * 企业专用 联系人姓名
	 */
	private String contactName;

	/**
	 * 企业专用 联系人电话
	 */
	private String contactPhone;
	
	/**
	 * 企业的话就是公司名称
	 */
	private String name;
	
	/**
	 * 企业对应是企业证件号`
	 */
	private String idNo;
	
	private String mobile;
	/**
	 * 1--男性
	 * 2--女性
	 */
	private String sex;
	@JsonSerialize(using = JsonDateSerializer.class)
	@JsonDeserialize(using = JsonDateDeserializer.class)
	private Date birthday;
	private Integer age;
	private String email;
	private String address;

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCustomerType() {
		return customerType;
	}

	public void setCustomerType(String customerType) {
		this.customerType = customerType;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public String getOrganizationType() {
		return organizationType;
	}

	public void setOrganizationType(String organizationType) {
		this.organizationType = organizationType;
	}

	public String getContactName() {
		return contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

}
